<!DOCTYPE html>
<html>
<head lang="en">
	<meta charset="UTF-8">
	<title>百朋后台管理系统</title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/demo.css">
	<script type="text/javascript" src="__PUBLIC__/easyui/jquery.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/easyui/jquery.easyui.min.js"></script>
</head>
<body>
	<div class="invest_table">
		<table id="default_table" title="订单列表" style="width:100%;min-height:372px;"
			data-options="
				fitColumns:true,
				showFooter:true,
				rownumbers:true,
				singleSelect:true,
				autoRowHeight:false,
				url:'../../borrow/borrowcashback/borrowcashback_main',
				pagination:true,
				pageSize:10,toolbar:'#tb'
			"
		>
			<thead>
				<tr>
					<th field="binfo_id" width="10%" align="center">客户姓名</th>
					<th field="cust_name" width="10%" align="center">分期编号</th>
					<th field="period_number" width="9%" align="center">还款期数</th>
					<th field="advance_day" width="6%" align="center">提前还款天数</th>
					<th field="period_recovery" width="7%" align="center">还款金额</th>
                    <th field="money" width="7%" align="center">返现金额</th>
					<th field="create_time" width="10%" align="center">返现时间</th>
					<th field="device_type" width="10%" align="center">还款设备</th>
				</tr>
			</thead>
		</table>
	</div>
	<div id="tb" style="padding:5px;height:auto">
		<form action="" method="post" id="searchTable">
			<div>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;借款编号
                <input class="easyui-textbox" id="select_borrowId" value="{$search_array.select_borrowId}" style="width:100px">&nbsp;&nbsp;
                客户姓名
                <input class="easyui-textbox" id="select_custName" value="{$search_array.select_custName}" style="width:100px">&nbsp;&nbsp;
				<a href="javascript:;" onclick="submitSearch();" class="easyui-linkbutton" iconCls="icon-search">查询</a>
			</div>
		</form>
	</div>

	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
	<script type="text/javascript">
		$(function() {
            $("#default_table").datagrid();
		});

		function submitSearch() {
            $('#default_table').datagrid('load',{
                select_borrowId: $("#select_borrowId").val(),
                select_custName:$("#select_custName").val()
            });
		}
	</script>
</body>
</html>